package com.clkj.zhonghui.pojo.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author yawang
 * @date 2024-07-15 11:13:26
 * 规则表
 */
@ApiModel( value ="t_zh_rule" )
@Table( name ="t_zh_rule" )
public class Rule  implements Serializable {

    @Id
   	@Column(name = "rule_id",updatable = false )
	@ApiModelProperty( value="null")
	private Integer ruleId;

	/**
	 * 规则详情
	 */
   	@Column(name = "rule_content" )
	@ApiModelProperty( value="规则详情")
	private String ruleContent;

	/**
	 * 0为储值金充值规则，
	 */
   	@Column(name = "rule_flag" )
	@ApiModelProperty( value="0为储值金充值规则，1为3650活动，2为分享海报")
	private Integer ruleFlag;

   	@Column(name = "shop_id" )
	@ApiModelProperty( value="null")
	private Integer shopId;

  public Integer getRuleId() {
    return ruleId;
  }

  public void setRuleId(Integer ruleId) {
    this.ruleId = ruleId;
  }


  public String getRuleContent() {
    return ruleContent;
  }

  public void setRuleContent(String ruleContent) {
    this.ruleContent = ruleContent;
  }


  public Integer getRuleFlag() {
    return ruleFlag;
  }

  public void setRuleFlag(Integer ruleFlag) {
    this.ruleFlag = ruleFlag;
  }


  public Integer getShopId() {
    return shopId;
  }

  public void setShopId(Integer shopId) {
    this.shopId = shopId;
  }

}
